//
//  StepperView.h
//  TextToImg
//
//  Created by Garenge on 2019/M/29.
//  Copyright © 2019 鹏鹏. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^StepperViewBlock)(NSInteger value);
/** 高度至少30 */
@interface StepperView : UIView

@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) NSInteger value;

@property (nonatomic, assign) NSInteger stepValue; // 1
@property (nonatomic, assign) NSInteger maxValue;
@property (nonatomic, assign) NSInteger minValue;

@property (nonatomic, copy) StepperViewBlock operationBlock;

@end

NS_ASSUME_NONNULL_END
